package net.sx.minemodule.mvp.model;

import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseItem;
import com.kedll.library.mvp.BaseModel;

import net.sx.minemodule.mvp.item.IntegralRecordItem;

/**
 * add shibo.zheng
 * 19/07/04
 * 历史积分记录 此bean用于接收后台请求回来的数据
 */
public class HistoryIntegralModel extends BaseModel {

    /**
     * historyTime :        //时间段
     * totalPoint : 0       //年总积分
     */

    private String historyTime;
    private int totalPoint;

    public String getHistoryTime() {
        return historyTime;
    }

    public void setHistoryTime(String historyTime) {
        this.historyTime = historyTime;
    }

    public String getTotalPoint() {
        return String.valueOf(totalPoint);
    }

    public void setTotalPoint(int totalPoint) {
        this.totalPoint = totalPoint;
    }

    @Override
    public BaseItem createItem(MultiTypeAdapter adapter) {
        return new IntegralRecordItem(this, adapter);
    }
}
